//
//  WebViewController.h
//  Rong360
//
//  Created by tianliwei on 8/2/14.
//  Copyright (c) 2014 tianliwei. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum {
    CalculatorShareUrl,//计算器里的分享结果，对应的url
    HTML5ShareUrl//指定的HTML5页面的分享对应的url
}UrlType;

@interface WebViewController : BaseViewController<UIWebViewDelegate>
@property (nonatomic, strong)UIWebView *webView;
@property (nonatomic, assign)UrlType type;
@property (nonatomic, assign)BOOL push;

- (id)initWithUrl:(NSString *)url title:(NSString *)title;

- (id)initWithUrl:(NSString *)url title:(NSString *)title desc:(NSString *)desc;
@end
